package com.smedi.ismedi.constructionproject.api.dto.request;

import cn.hutool.core.date.DateTime;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-6-24 15:02
 */
@Data
@Accessors(chain = true)
public class ProjectApplyEditRequest implements Serializable {
    @NotNull(message = "id为空！")
    private Long id;

    @ApiModelProperty(value = "项目id")
    @NotNull(message = "项目id为空！")
    private Long projectId;

    @ApiModelProperty(value = "申请原因")
    private String applyReason;

    @ApiModelProperty(value = "申请类型 免装：NOT_INSTALLED 暂停：STOPPED")
    private String applyType;

    @ApiModelProperty(value = "附件")
    private List<String> fileKeys;
    /**
     * 业务 token
     */
    @ApiModelProperty(value = "业务 token")
    private String businessToken;
    @ApiModelProperty(value = "暂停开始日期")
    private LocalDateTime suspendedStartTime;

    @ApiModelProperty(value = "暂停结束日期")
    private LocalDateTime suspendedEndTime;
}
